<!--mes字段为提示字段 check字段为是否显示-->
<template>
	<div class="Mks-Ht" v-show='check' @click="TdCheckFalse()">
		<div class="Mks-ok" @click.stop>

			<div class="Mks-ok-cont">
				{{mes}}
			</div>
			<div class="Mks-ok-btn">
				<button @click="TdCheckFalse()">确定</button>
			</div>
		</div>
	</div>
</template>

<script>
	export default {
		name: 'message',
		props: ['mes','check'],
		data() {
			return {
				checkof:''
			}
		},
		created: function() {
		},
		methods: {
			TdCheckFalse() {
				 this.$emit('check',false);
			}
		}

	}
</script>

<style scoped>
	.Mks-Ht {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 10000;
	}
	
	.Mks-ok {
		width: 60%;
		height: auto;
		background-color: #FFF;
		position: absolute;
		top: calc(50% - 90PX);
		left: 20%;
		font-size: 36px;
		color: #FFF;
		border-radius: 20px;
	}
	
	.Mks-ok-title {
		width: 100%;
		height: auto;
		color: #353535;
		font-size: 36px;
		padding: 30px 20px;
		box-sizing: border-box;
	}
	
	.Mks-ok-cont {
		width: 100%;
		height: auto;
		color: #353535;
		font-size: 36px;
		padding: 30px 20px;
		box-sizing: border-box;
		padding-top: 60px;
		text-align: center;
	}
	
	.Mks-ok-btn {
		width: 100%;
		height: auto;
		display: flex;
		justify-content: center;
		padding: 20px 40px;
		box-sizing: border-box;
		padding-bottom: 40px;
	}
	
	.Mks-ok-btn>button {
		background-color: #F9A01F;
		width: 140px;
		height: 60px;
		color: #FFF;
		font-size: 28px;
		border-radius: 8px;
	}
</style>